import { Dictionary } from "../Common/Dictionary";
import { ICache } from "../Interfaces/IIOC";

export default class CacheUtil implements ICache {
  [key: string]: any;

  get<T>(key: string): T {
    return this[key];
  }
  set(key: string, value: any) {
    this[key] = value;
  }
  remove(key: string) {
    delete this[key];
  }
}
